package com.x.xiaoshuo;

import com.x.xiaoshuo.utils.FileUtils;


public class Constant {

    public static String PATH_DATA = FileUtils.createRootPath(XApplication.getInstance()) + "/cache";

    public static String PATH_COLLECT = FileUtils.createRootPath(XApplication.getInstance()) + "/collect";

    public static String PATH_TXT = PATH_DATA + "/book/";

    public static String PATH_EPUB = PATH_DATA + "/epub";

    public static String PATH_CHM = PATH_DATA + "/chm";

    public static String BASE_PATH = XApplication.getInstance().getCacheDir().getPath();


    public static final String SUFFIX_TXT = ".txt";
    public static final String SUFFIX_PDF = ".pdf";
    public static final String SUFFIX_EPUB = ".epub";
    public static final String SUFFIX_ZIP = ".zip";
    public static final String SUFFIX_CHM = ".chm";


    public static final String ISNIGHT = "isNight";
    public static final String ISBYUPDATESORT = "isByUpdateSort";


    public static final int ORDER_TIME = 1;
    public static final int ORDER_UPDATE = 0;


    public static final int SCREEN_ORIENTATION_PORTRAIT = 0;
    public static final int SCREEN_ORIENTATION_LANDSCAPE = 1;


    public static final String FLIP_STYLE = "flipStyle";

    public static final String BAIDU_APP_ID = "33de95d119";

    public static class ADConstants {
        public static final String APPID = "1106838177";
        public static final String SplashPosID = "5060332480713323";
        public static final String ShelfPosId = "6090734492538786";
        public static final String ChapterEndPosId = "3020438452531872";
        public static final String ChapterEndSPosId = "6090734492538786";
        public static final String ChapterStartPosId = "1020738482339803";

    }


}
